package com.fy.spring.dao;

import com.fy.spring.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
//@Repository 最好用@Mapper，@Repository有时出问题
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") int id);
}
